#ifndef __Math_MenuManager__
#define __Math_MenuManager__

#include "cocos2d.h"
USING_NS_CC;

class MenuManager : Layer
{
private:
	Size m_screenSize;
	Node* m_node;
	Node* m_btnSetting;
	Node* m_pnlSetting;

	void tapSetting(Ref* pSender);
	void tapClose(Ref* pSender);
	void tapMode(Ref* pSender);

	void initBackground();
	void initComponent();
	void initButton();
public:
    static bool m_isProcressing;
	~MenuManager();

	void initalize();

	static Scene* createScene();
	virtual bool init();
	CREATE_FUNC(MenuManager);
};


#endif
